#ifndef _LIGHT_SAMPLE_H_
#define _LIGHT_SAMPLE_H_

#include "Vertex.h"
#include "Vector3.h"
#include "Ray.h"
#include "Color.h"

class LightSample
{
public:
	LightSample(void);
	~LightSample(void);

	void set(LightSample* sample);
	void setValid(bool isValid);
	void setShadowRay(Ray* shadowRay);
	bool getIsValid();
	Vertex* getVertex();
	Vector3* getDirection();
	Color* getRadiance();
	Ray* getShadowRay();


private:
	Vertex*		v; 
	Vector3*	ldir;
	Ray*		shadowRay; 
	Color*		le;
	bool		isValid;

};

#endif


